package com.gaoyubo.dao;

import com.gaoyubo.entity.City;
import com.gaoyubo.entity.Ctype;
import com.gaoyubo.entity.SearchVO;
import com.gaoyubo.entity.VO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CityMapper {
  //列表+查询
  List getList(SearchVO searchVO);

  List typeList();

  void deleteById(Integer id);

  void deleteByIds(@Param(value = "ids") String ids);

  void updates(VO vo);

  void save(VO vo);

  City getListById(Integer id);
}
